package com.sxds.wn.security;

import com.sxds.wn.IConstants;
import com.sxds.wn.exception.DataAccessException;
import com.sxds.wn.security.dto.User;

/**
 * Description: <p>认证授权服务接口</p>
 * Content Desc:<p>认真授权服务接口,组要提供用户登记、认真、授权等业务操作<p>
 * Copy Right of Personal Tangtao 2007-2020
 * @author Andy
 * @version 1.0 Create Date:@2008-11-11
 */
public interface SecurityService extends IConstants {

	/**
	 * 认证用户是否存在系统中
	 * @param user 简单封装用户对象
	 * @return true--通过认证,false--未通认证
	 * @throws SecurityException 未通过认真抛出的异常信息
	 */
	public User authenticationUser(User user) throws SecurityException,DataAccessException;
	
}
